import upload from '@/utils/upload'
import request from '@/utils/request'

// 退回
export function wxLoginGetCode(OpenId) {
  return request({
    url: '/wechat/wxLoginGetCode',
    method: 'post',
	params: { OpenId }
  })
}

export function queryAuthorize() {
  return request({
    url: '/wechat/queryAuthorize',
    method: 'post'
  })
}
export function queryPerms() {
  return request({
    url: '/wechat/queryPerms',
    method: 'post'
  })
}